﻿using System;
using System.Reflection;

internal class Class_af
{
    internal static string a()
    {
        foreach (FieldInfo info in typeof(Class_ah).GetFields(BindingFlags.Public | BindingFlags.Static))
        {
            if (info.GetCustomAttributes(typeof(Class_b), false).Length > 0)
            {
                return (string) info.GetValue(null);
            }
        }
        return null;
    }

    internal static string b()
    {
        foreach (FieldInfo info in typeof(Class_ah).GetFields(BindingFlags.Public | BindingFlags.Static))
        {
            if (info.GetCustomAttributes(typeof(Class_t), false).Length > 0)
            {
                return (string) info.GetValue(null);
            }
        }
        return null;
    }

    internal static object c()
    {
        foreach (MethodInfo info in typeof(Class_ab).GetMethods(BindingFlags.Public | BindingFlags.Static))
        {
            if (info.GetCustomAttributes(typeof(Class_c), false).Length > 0)
            {
                return info.Invoke(null, null);
            }
        }
        return null;
    }
}

